 <%@page import="edu.haiu.training.data.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<title>Update</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="formAdd.css" />
</head>
<body>
	<a class="submit1" id="submit">Edit </a>
	<div class="form-content">
	
	<form action="SaveEdit" class="wrapper" method="post" >	 	
			<div class="add">
				<input type="hidden" value="" name="id3">
				<label for="username">Username</label>
				<input type="text"
					name="username" value="<s:property value="username"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="password">Password</label>
				<input type="hidden" value="" name="id3">
				<input type="password"
					name="password" value="<s:property value="password"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="firstName">FirstName</label>
				<input type="hidden" value="" name="id3">
				<input type="text"
					name="firstName" value="<s:property value="firstName"/>"class="name-pass" />
			</div>
			
			<div class="add">
				<label for="lastName">LastName</label> 
				<input type="hidden" value="" name="id3">
				<input type="text"
					name="lastName" value="<s:property value="lastName"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="address">Address</label> 
				<input type="hidden" value="" name="id3">
				<input type="text"
					name="address" value="<s:property value="address"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="birthday">Birthday</label> 
				<input type="hidden" value="" name="id3">
				<input type="text"
					name="birthday" value="<s:property value="birthday"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="administrator">Administrator</label> 
				<input type="hidden" value="" name="id3">
				<input type="text"
					name="administrator" value="<s:property value="administrator"/>" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="state">State</label> 
				<input type="hidden" value="" name="id3">
				<input type="text" 
					name="state" value="<s:property value="state"/>" class="name-pass" />
			</div>
			
			<div class="button">
				<button type="submit" class="save">Save</button>
				<button type="reset" class="save">Cancel</button>
			</div>
	
		</form>
	</div>
	<script src="jquery-1.10.2.min.js"></script>

	<script>
		$('#submit').click(function() {

			$('body').prepend('<div class = "overlay"></div>');
			$('.wrapper').show();
			//        $('.wrapper').css({position: 'fixed', 'bottom': '30px'});
			$('#submit').click(function() {
				$('.wrapper, .overlay').hide();
			});
		});
	</script>
</body>
</html>
